package org.conditure.container.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.conditure.container.ApplicationContainer;
import org.conditure.container.ComponentType;

/**
 * Represents a component that will get scanned by the {@link ApplicationContainer}.
 * 
 * @author Elvir
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Component {
	String value();
	
	ComponentType type() default ComponentType.SINGLETON;
}
